dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
152cafd
)
API: an alternative "continue" value formatted as a URL-encoded snippet. Commented...
author
Yuri Astrakhan
<yurik@users.mediawiki.org>
Sun, 15 Jul 2007 06:56:54 +0000
(06:56 +0000)
committer
Yuri Astrakhan
<yurik@users.mediawiki.org>
Sun, 15 Jul 2007 06:56:54 +0000
(06:56 +0000)
includes/api/ApiQueryBase.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryBase.php
b/includes/api/ApiQueryBase.php
index
b327fa4
..
d9669b1
100644
(file)
--- a/
includes/api/ApiQueryBase.php
+++ b/
includes/api/ApiQueryBase.php
@@
-160,7
+160,12
@@
abstract class ApiQueryBase extends ApiBase {
protected function setContinueEnumParameter($paramName, $paramValue) {
- $msg = array( $this->encodeParamName($paramName) => $paramValue );
+ $paramName = $this->encodeParamName($paramName);
+ $msg = array( $paramName => $paramValue );
+
+// This is an alternative continue format as a part of the URL string
+// ApiResult :: setContent($msg, $paramName . '=' . urlencode($paramValue));
+
$this->getResult()->addValue('query-continue', $this->getModuleName(), $msg);
}